package com.yubest.demo.service.impl;

import com.yubest.demo.dto.OrderReqDTO;
import com.yubest.demo.enums.OrderTypeEnum;
import com.yubest.demo.service.OrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 食品订单
 * @Author hweiyu
 * @Description
 * @Date 2021/3/19 11:30
 */
@Service
@Slf4j
public class FoodOrderServiceImpl implements OrderService {

    @Override
    public void createOrder(OrderReqDTO reqDTO) {
        log.info("开始处理，[食品订单]");
    }

    @Override
    public OrderTypeEnum getType() {
        return OrderTypeEnum.FOOD;
    }
}
